<!--
 * @Author: lsp<286212824@qq.com>
 * @Date: 2020-06-22 12:02:50
 * @LastEditTime: 2020-06-23 08:48:18
 * @Description: file content
--> 
<template>
  <div class="error">
      <!-- <div class="content"> -->
        <img src="../../assets/images/errbg.png" alt="" class="errbg">
        <div class="mybox">
            <div>
              <i class="el-icon-warning warningIncon" ></i>
              <span>{{msg}}</span>
            </div>
            <div>
              <div v-show="result.actual_count">当前版本为：{{result.current_count}}人版本；</div>
              <div v-show="result.actual_count">系统检测到现在钉钉组织架构人数为{{result.actual_count}}人；</div>
              <div v-show="result.actual_count">请直接通过钉钉升级版本，或联系官方客服！</div>
              <div v-show="msg.indexOf('系统检测应用于')>-1">请直接通过钉钉续费，或联系官方客服！</div>
              <div>客服电话：<span style="color:#6b9aff;font-size:16px">{{result.tel}}</span> </div>
            </div>
        </div>
      <!-- </div> -->
  </div>
</template>
<script>
/* eslint-disable */ 
export default {
    name:'error',
    data(){
      return {
        msg:'',
        result:{
        }
      }
    },
   created(){
     this.msg = this.$route.query.msg
     this.result = JSON.parse(this.$route.query.result)||{}
   }
}
</script>


<style lang="stylus" scoped>
.error 
  .errbg
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 11;
      background: #f0fbff;
  .mybox
    width: 753px;
    position: fixed;
    top calc(50% - 131px)
    left calc(50% - 377px)
    z-index 12
    border-radius: 5px;
    height 220px
    background-color #fff
    padding 43px 63px 0 63px
    >div:first-child 
      display flex
      margin-bottom 14px
      align-items center
      >span 
        color: rgba(0, 0, 0, 0.85);
        font-weight 600
        font-size: 20px;
    >div:not(:first-child)
      padding-left:38px
      >div 
        line-height 20px;
        color: rgba(0, 0, 0, 0.65);
        font-size: 16px;
        margin-bottom 12px
  .warningIncon
    font-size 30px
    color: rgba(250, 173, 20, 1);
    margin-right 8px
</style>